<span *ngFor="let star of stars;let i = index;" class="glyphicon glyphicon-star"
  [class.glyphicon-star-empty]="star" (click)="editStar(i)"></span>
